loadTensorDataAsync

Load tensor data asynchronously by name.

This suspend function works with JsBlobRandomAccessSource to load tensor data that may be beyond the preloaded buffer.

Return

Raw bytes for the tensor

Parameters

name

The tensor name

Throws

if tensor not found


Load tensor data asynchronously for a specific tensor.

Return

Raw bytes for the tensor

Parameters

tensor

The tensor info from tensors list

Throws

if tensor has no raw_data